package com.urms.service;

import com.github.pagehelper.PageInfo;
import com.urms.entity.Menu;
import com.urms.entity.QueryMenuCondition;

import java.util.List;

public interface MenuService {
    PageInfo<Menu> menuList(QueryMenuCondition qmc);

    List<Menu> getAllMenu();

    Integer insertMenu(Menu menu);



    PageInfo<Menu> selectMenu(QueryMenuCondition qmc);

    Integer deleteMenuById(Integer menuId);

    String findMenuNameById(Integer menuParentId);

    Integer updateMenu(Menu menu);

    Integer deleteMenuList(Integer[] menuIds);
}
